package my.iterator;
import lombok.Data;

//菜单项 实现类
@Data
public class MenuItem {
    //菜单名称
    private String name;
    //菜单描述
    private String description;
    //是否是素食
    private boolean vegetarian;
    //价格
    private double price;

    public MenuItem(String name,String description,boolean vegetarian,double price){
        this.name=name;
        this.description=description;
        this.vegetarian=vegetarian;
        this.price=price;
    }

}
